Comment typo fix
Check that identifiers are in scope when generating signature