Allocation and equity in the public sector: the hospital revenue allocation formula