Do not have a static identity. Keep your identity lightweight and flexible.
Seth has a few good thoughts on identity. In particular:
Establishing your identity as someone who is not static, open to change and eager for better makes it far easier to engage in a world where some would prefer us to do precisely the opposite.
https://seths.blog/2021/04/identity-is-used-against-us/