How Political Identities Work