Capsular invasion is primarily identified through microscopic examination of tissue sections stained with hematoxylin and eosin (H&E). Pathologists look for the presence of malignant cells breaching the capsule and infiltrating surrounding tissues. Immunohistochemical staining may also be used to identify specific markers that highlight the invasive cells, providing a clearer picture of the extent of invasion.