Morality and collective liability