Complex sentence: A person's gender is part of their identity but their profession, for example, may not be.
Split into simpler sentences: A person's gender is part of their identity but their profession. For example, may not be.