Text this: Optimal Tag-Based Cooperation Control for the “Prisoner’s Dilemma”