Causal Identification with Matrix Equations