John Elphinstone, 4th Lord Balmerino — Scottish nobleman and lawyer