I believe the answer is: the process of anticipatory socialization
Anticipatory socialization refers to the effor make by a certain individual as an anticipation to join a certain social group in the future.
during this process,, that individual would learn the values/standard that the group aspire to maintain and train him/herself to fulfill those values/standard