What factors influence the development of collective and individual identity?