[PATCH RFC 3/8] pidns: introduce pidns_get_inum()