fixes #8: add Scope.prototype.isUsedName

No tests or documentation since there's no tests or documentation.