Socialism, nationalism, and the case of Quebec