Check that Var is an Id before calling idInfo on it (to avoid panic)