Add xmlNamespace property to BaseType class.

When generating the XML we need to ensure that the xmlns attribute is
set for some elements.