When and How Party Identification Works