What is the term for a pattern of behavior that involves cer…

What is the term for a pattern of behavior that involves certain rights and duties that an individual is expected, trained, or encouraged to perform in a particular social situation?  Many individuals possess several of these. (i.e. brother, uncle, father, grandson)