proper node identity detection