Reverse lookup: key for nid, or null if the slot is free.
nid
TKey? keyOf(int nid) => nids.keyOf(nid);