use id instead of attacktype in attacker mapping