Proper label and input ids for checkbox and radios with non-sanitized values

Before now label ids and input ids for checkbox and radios inputs were messed of unsanitized option values and sanitized values, that was a nightmare if you had some punctuation or non-latin symbols in options.
This commit fixes it.
It looks a little tricky, but I don't see a more simple and cleaner way without including something like `simple_form`.