Mercury pigment can be identified by its characteristic granular appearance under the microscope. It often appears as dark brown or black deposits. Special stains, such as the Gram stain, can also help in identifying these pigments. Additionally, polarized light microscopy can be utilized to distinguish mercury pigments from other types of pigments or artifacts.