Magnetic properties of the layered lanthanide hydroxide series Y(x)Dy(8-x)(OH)20Cl4·6H2O: from single ion magnets to 2D and 3D interaction effects.