To dream about your gender indicates that you are evaluating your role and how you are perceived by society.
Perhaps you are feeling self-conscious about specific gender roles.
If you dream of the opposite gender than your own, then it means that you need to incorporate aspects of the opposite sex into your own character.