fix generation of ids for multiple checkboxes

Bugfix for 2.4.
See https://cakephp.lighthouseapp.com/projects/42648/tickets/4064-formhelper-multiple-checkbox-bug-with-special-chars

The current implentation of Inflector::slug() generates too many collisions and renders many multiple checkbox forms invalid.