this.form.getAttribute('id')
se con Internet explorer hai ancora problemi prova con
this.form.attributes['id'].value
oppure
this.form.getAttributeNode('id').value
p.s. tante volte usassi un framework come Prototype potresti usare
this.form.readAttribute('id')