Thomas Berwick — Scottish judge and advocate