Symmetry fractionalization, mixed-anomalies and dualities in quantum spin models with generalized symmetries