Rational design of single-ion magnets and spin qubits based on mononuclear lanthanoid complexes.