New system helps identify hazardous chemicals