Thomas Hamilton — Scottish judge, administrator and peer, 1st Earl of Haddington