Match a DOM element against a wildcard attribute name