Add back support for specifing the html id

* see rails 3 commit: eacb4171d000b7a8ca8023199019caab11224cda