Inhomogeneous spin glass and mixed phases in cerium compounds