[opf] changed OID assignment to refcounting interface