Reputation promotes cooperation by reshaping how agents learn, not just by rewarding them. — Synthesis