added tests that check the ID of the HTML tag decorator
added test
implemented fix of ID in html tag