It gets the set of classes and ids