What are the factors influencing the formation of identity during adolescence? Support your answer with examples.