That is what I was thinking. I worked for an oil company years ago. The chemists there used an FTIR (Forier Transform Infrared Spectrophotometer) to accurately identify all kinds of organic compounds. They sometimes used it to identify plastics used in containers and retail packaging.