In 1771, author and poet Tobias Smollett said: “Edinburgh is a hotbed of genius”.