Fix collision of cache_id_suffixes.

This caused problems when the same view index was used by different
query factories using the same field name.