Yes, everyone does have gender identity. They see their genitals and can tell which gender they are.
It’s the trans people who have a mental condition which makes them believe they are a different gender than what they really are, which is similar to having an imaginary friend.