Codes, modalities, and the process of cultural reproduction: A model