Local order parameters for symmetry fractionalization