New type/format syntax in has_attribute