Converting named references to NIC handle references