Local identity and natural resource dilemmas