Lord Chancellor of Scotland — Great Officer of State in pre-Union Scotland