Robert Hamilton, 4. Baronet