The chemical identification of grain mantles by infrared spectroscopy