Deciphering records of geomagnetic reversals