Allan Ramsay, David Hume, 1711 – 1776. Historian and philosopher