When exporting a Pawn string for Beast Mastery, the string includes:
“…, Spec=Beast Mastery, …”
This is not recognized correctly by Pawn, resulting in no spec icon in tooltips.
Removing the space in the spec name fixes it:
“…,Spec=BeastMastery, …”