Allow . or : anywhere except end
Parse out predicate tags e.g. #attr:value to be top-level attributes

:type is now a first-class attribute
Update attribute-counts to use any attributes. Also add to all-type-counts