Heuristic programming as an ion generator in mass spectrometry. II—Generation of primary ions from simple cyclic structures†