The research-teaching nexus in nurse and teacher education: contributions of an ecological approach to academic identities in professional fields