I also wouldn't vote for someone to stop someone else from xyz identity from attaining office. Policy is the baseline. I don't care if a Muslim, Christian, Atheist, Hindu, whatever runs as long as their policy is good. I've know people of all sorts of identities that were good and bad, I always try to take people individually, in fact it would feel weird not to and would be narrow minded and counterproductive.
Alexandria Ocasio-Cortez described identity politics really well in an interview, basically saying identity alone shouldn't dictate how you take someone (i.e., I'm just gonna vote for x only because they're this thing), but what identity is is a lens through which we view and interact with the world. It affects our experiences. If you're a woman, you have a different lens than a man, gay, straight, black, white, Hispanic, etc, and we all have blind spots. I don't recall her quote verbatim but it's really good.