CHAOS: prevent sorcery object with null id