Cooperation and social organization depend on weighing private and public reputations | Synapse