A theoretical framework for incentives in the public sector