The ideological origins of the British Empire