Recognize long identifiers from type extensions

Fix #655.
Merge pull request #656 from dungpa/unused-opens

Recognize long identifiers from type extensions