The getTagNameForClass method in the abstract XSD generator class
could not handle class names with more than two namespace parts.
This caused e.g. TYPO3\CMS\Fluid\ViewHelpers\Be\Buttons\CshViewHelper to
not be transformed to "be.buttons.csh", but just "be.", which in turn
caused duplicate id errors in the resulting XSD document.
Make the code aware of more than two namespace parts.