Mat pieces has the property MatID, and Mat Cargo on a mat have a matching CurrentMatID property. These can be used to send commands to and from the Mat from and to the carried Mat Cargo with.
MatID==$CurrentMatID$
and
CurrentMatID==$MatID$
respectively.
Yours,
Christian