Add new semantic error checker

1. MccIdentifierConflictChecker and related error class.
2. Update docs.
3. Add line number related function to base class.