We don't have module NIDs except SceLibMonoBridge one. We must add other NIDs.
As you can see in the source code of psp2-fixup and probably in Yifan's specifications, those NIDs are included in binaries, so it should be possible to get them.
https://github.com/psp2sdk/tools/blob/master/psp2-fixup/elf_psp2.h#L41
typedef struct {
uint16_t size;
uint16_t ver;
uint16_t flags;
uint16_t funcNum;
uint16_t varNum;
uint16_t unkNum;
uint32_t unused0;
uint32_t nid; // <- This
uint32_t name;
uint32_t unused1;
uint32_t funcNids;
uint32_t funcStubs;
uint32_t varNids;
uint32_t varStubs;
uint32_t unkNids;
uint32_t unkStubs;
} sceLib_stub;