Spectrometric identification of organic compounds