Scots get a vote to opt out of UK