src/doc: use `nitdoc_name` rather than `nitdoc_id` for debug name.