While "gender identity" probably doesn't play a large role in the "when" decision, unfortunately "gender expectations" do. Most societies expect different things of different genders, regardless of what the individual wants, leading to social pressures. Luckily that doesn't apply to America as much these days.