William Adam — British advocate, barrister, politician and judge (1751-1839)