There are places where this might get called even if `it->nameid` is 0 (example: `@clearstorage`). It's fine to keep the assertion here, but if that's the case, you need to make sure it's not 0 on the caller's side. Else change this assertion to an if