Gender, Identity and Candidate Quality in Statewide Elections