Changed DebugTree.createTag() visibility to protected

This method should be usable from derived classes. e.g. for adjusting the
output based on the tag.