Revolutions and Nationalism: Shared Causes, Different Paths