Generate isFooElement() functions from tagname data.