Issue #1315900 by tim.plunkett: Add reset_html_ids option to stop form ids from changing when validation fails.