[TASK] Add htmlspecialchars to element id

Resolves: #63842
Related: #62973
Releases: master
Change-Id: I9089585103263788fcc937b3d1ac623095373427
Reviewed-on: http://review.typo3.org/35426
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>