The correct option is C gender identity
The terms 'sex' and 'gender' are not synonymous. While sex is generally understood in terms of biological characteristics and anatomy, gender is discussed with reference to social and cultural characteristics.
While for some people, their gender identity matches the sex they were assigned at birth, for others, it may not. X identifies as a woman. This is their personal sense of their own gender, i.e., their gender identity.