The doctrines of judicial precedent in Scots law