fix for calculating AP gain including field count

adding the guid to the portal details dataset (stored in cache) allows functions which get the detail dataset directly (such as window.getAttackApGain) to access the guid