anchor.diff:          )
         )*
       ;
  -    
   
   packageName returns [Identifier identifier]
       : LIDENTIFIER
  -      { $identifier = new Identifier($LIDENTIFIER); 
  +      { $identifier = new Identifier($LIDENTIFIER);
           $LIDENTIFIER.setType(PIDENTIFIER);}
  +    | { displayRecognitionError(getTokenNames(),
  +              new MismatchedTokenException(LIDENTIFIER, input), 5001); }
  +      UIDENTIFIER
  +      { $identifier = new Identifier($UIDENTIFIER);
  +        $UIDENTIFIER.setType(PIDENTIFIER);}
       ;
   
   typeName returns [Identifier identifier]
  
positive.code: memberNameDeclaration returns [Identifier identifier]
      : memberName { $identifier = $memberName.identifier; }
      | { displayRecognitionError(getTokenNames(), 
                new MismatchedTokenException(LIDENTIFIER, input)); }
        typeName { $identifier = $typeName.identifier; }
        
      ;
  
negative.code: typeNameDeclaration returns [Identifier identifier]
      : typeName { $identifier = $typeName.identifier; }
      | { displayRecognitionError(getTokenNames(), 
                new MismatchedTokenException(UIDENTIFIER, input), 5002); }
        memberName { $identifier = $memberName.identifier; }
        
      ;
  