socialisation

the process whereby individuals come to act in a way which is acceptable to, and in tune with, their society. It is sometimes used in a less general sense referring to behaviour within institutions (such as schools) and professions (such as teaching).