Animal MAI engine macros: update ids in the [ai] tags

This doesn't really affect anything, but should be done for consistency
anyway.