Ferning of cervical mucus depends on :