Change all AI packages (except AiActivate) to use ActorIds

More robust in case the target changes cell or there are multiple targets with the same RefId