IfcRelNests slots, the same in IFC2X3, IFC4 and IFC4X3. The writers lay records out with them; the readers go by name.
IfcRelNests
GlobalId
IfcRoot
RelatedObjects
RelatingObject