John Burnett — Scottish advocate, judge and legal scholar