A moving novel with a forgotten Scottish shame