As a detector element can only be uniquely identified by both the detector id and the detector element id taken together (they are both keys of the diffrn_detector_element category), any reference to a detector element needs to include both. In particular, _diffrn_data_frame has a pointer only to _diffrn_detector_element.id so needs an additional data name that is a child of _diffrn_detector.id.