generation of checkbox html when html id-attribute is boolean value