Identities in the Commons: The Dynamics of Norms and Social Capital