The social construction of teacher and learner identities in medicine and surgery