Implement a "base" attribute for tags.