A person's internal sense of self as belonging to a particular gender or genders, or to no gender.
One's tendencies of sexual attraction, considered as a whole.