added classes for static elements (waiting for MDL-28194 review)

fixed a bug in autofill plugin. It was using a static name causing two element to have the same name.