Distributive Justice and Self-Organised Resource Allocation in Open Systems