The right (global) variable name is: mavlink_system.sysid

Enjoy 8).