Add support for attribute value type comparison.
Checks the type using typeof: [attr=type(string)].