How Social Institutions Can Imitate Nature