The important variable to record is sex.<p>If researchers want to record "gender identity" or similar ideologically-driven claims then this should have to be justified. And probably labelled as something more to the point, e.g. "does this individual have a strong desire to be the opposite sex?"