tag id == name, id validation fixes