Competition and the role of group identity