The Scottish government is looking at a possible exit from Britain, it has scheduled a referendum on independence for 2014.