In its early stages insomnia is almost an oasis in which those who have to think or suffer darkly take refuge.