Thomas Miller — Scottish advocate, judge, politician and landowner