Collective action as an agreeable n-prisoners' dilemma | Synapse