Allocation of Local Government Functions: Criteria and Conditions