Prior symmetry, categorization and similarity