Self-Interest and Fairness in Problems of Resource Allocation