Get occurrences for 'this' keywords

this is needed by rename. if we do not trim it, renaming foo to bar we will replace a["foo"] with a[bar], which is wrong.