John Wilson, Lord Ashmore - Scottish lawyer, parliamentary candidate, sheriff principal and judge