The evolution of attitudes to ethics