Detect attempts to add identifiers, identifier_references and inherits in pass 2. Rev: src/program.c:1.625