That methods is possible if you kit sends an attribute you can use for this purpose. Look at debug logs. .. eg

if(%{Called-Station-Id} ~= /:ssid$/) {
blah blah
}

alan
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.