Cache the minion id in /var/lib/salt or C:\salt\var\lib