Returns the vnum of the specified character, object, or room. If the vnum of a player is queried, the function returns null.