Since classes in cmpIdentity are not changed through the game, it is safe to cache result of one call to it and then return value of that variable.
This is reducing calls to engine for identity component.
IsDomestic() is called on Order.Walk, Order.Stop, Order.WalkAndFight, Order.WalkToTarget.