Improved type determination in processing of odvNameElems