I don't think most scientists would agree with you:
https://www.nature.com/news/polopoly_fs/1.16943!/menu/main/t...
So you have no sex until puberty? After menopause women stop being women? Infertile people also have no sex? What about euneuchs and people who have their ovaries removed?
Your definition seems to create more problems than it solves. It creates billions of new sexless humans.
Don't be obtuse, you know perfectly well that's not what it means.
https://en.wikipedia.org/wiki/Sex
The fact that you're confused about this most basic biological fact is exactly what I've been trying to communicate is the problem with gender activists in this space. They've spread considerable misinformation on this topic.
"Sex assigned at birth" is one example of the kind of misinformation I'm talking about. They're equivocating on the term "sex", because doctors are not determining biological sex, but making a determination of legal sex. If they had argued for "gender assigned at birth" for legal purposes, and argued that both sex and gender be determined and recorded (because sex is important medically), there would be no such confusion.
As for the legal issues, nobody supports "discrimination" in an abstract sense, but the point is that there's a strong difference of opinion on what counts as "discrimination". If "sense of identity" is all that's needed to trigger some discrimination clause, a quality that cannot be verified physically in any way at this time, then that's a recipe for abuse by bad actors.