According to [the documentation](http://yuilibrary.com/yui/docs/io/#the-configuration-object), form.id is not necessarily a string so this won't work.