Holographic superconductor model in a spatially anisotropic background