Carbonate identification and genesis as revealed by staining