A person's internal sense of self as belonging to a particular gender or genders, or to no gender.
Sexual orientation.