LPS-37838 - Fix for input_localized when id and name are different

This fixes the internal generation of inputs on the `input_localized` taglib when the `id` and `names` are different. 

As it is, the taglib generates hidden inputs with a wrong name that can't be captured properly on the backend later.