Gender self-identification or gender self-determination is the concept that a person's legal sex or gender is determined by their gender identity, without medical or judicial requirements.
It is a major goal of the transgender rights movement. From Wikipedia