Topological classification of gapped spin chains: Quantized Berry phase as a local order parameter | Synapse