Incentive provision with hidden characteristics: A unified approach