Will that really just be id "id"? Seems like unique-collisions across the page can more easily happen.
Maybe one could prefix all input generated ids with "input-"?