Answer:
You choose most parts of your identity for yourself. Society, and others influence your identity in ways that aren't even explained. Some things, like your gender assigned at birth are by chance. All of these, however, all are part of your identity and help you decide. For example, trends from others can help influence your identity. Also, society has specific standards, and breaking out of those standards and norms can help influence your identity
Disclaimer this may not be the right answer this is based on my opinion