Just because the people have changed doesn’t mean the platform has changed
I can’t think of a single quantifiable reason someone’s gender identity should be on a government ID. But biological sex is important to have for things like organ donation.
Your sex is on your ID, your gender isn’t.