Sir William Grant (1752-1832) judge; Master of the Rolls