The contexts and processes of shaping teacher identity