In 1825, a tax collector compiling a census in South Africa’s Cape Colony paused to write a poem in the margin of his work.