Use different id on hidden field so associated labels work as expected

Fixes #3981