Legitimacy of mechanisms for public good provision