Religion, Identity, and Preferences