Handle Unknown Tags

I added code to detect unknown tags and throw an exception. I also
provided a default implementation so tags are in the global scope by
default.