Revise id, input_class and label_class escaping