Community, identity, and religion