Fixed label id generation code

label seems to generate wrong html code. The atom we should use is :id and not :for.