the name given to a judge in scotland