Thus, the confd-lib procedures/macros working with the type require/return both “ns” and “id” (CONFD_SET_IDENTITYREF() / CONFD_GET_IDENTITYREF() ).
if the identity that you need to reference is “local” to the currently processed module, namespace should be available as well to use in the macros/C struct - know by the processing code…
What is the use case for the confd_value_t of the identity that you describe (without the namespace)?
Do you want to work with a target identityref value, or with some keypath pointing to the identityref?
(in which case, namespace + C_XMLTAG of “mrl_carrier_termination” should be usable)