Renaming and reordering attrs in match_type()
Removing reserver word ;-)
Attrs specs extended to really cover type matching
Logic to convert string characters to target types