Structure, Affect and Identity as Bases of Organizational Competition and Cooperation