validation tag to id