Identification of chemical compounds in detergent