How about implementing a new identifier called $naddr? $naddr would return the named address of a given ip (if one exists).

Ex:

//echo -a $naddr(209.240.130.48)

mIRC would return:

mirc.com