adding a class for IDs
added SubstanceID class + awkward merge