Fixed label association when input has a user-defined id attribute (fixes bb72)