Add id-string to AI constructor.