Self-determination and socialism