The Ideological Origins of Great Power Politics, 1789-1989