Adding possible_nid?() method

useful to quickly reject bad nid input before doing expensive
server lookups.