Hmm? My point is that a number for the second parameter represents the nth person in that channel with the given mode prefix. Obviously there won't ever be ten billion people on a channel. The pnick property doesn't affect anything, it'll just return the ten billionth person with their mode prefix.
If there's something specific to 11 digit numbers (other than the likely 32-bit wraparound issues) that's causing it to act as if 0 is given, then maybe there is a bug to fix if only to ensure it isn't part of some larger issue. But in any case this won't allow DJ_Sol to use numbers as nicknames in the $nick() identifier.