proper generation of `checkbox`/`radio button` html when html id-attribute is boolean value