Revise to_stix method to utilize the class_from_id method to remove a big conditional block that was unneccesary.