I\'ve looked around, and am not sure if this is possible, but here goes:
I have a (javascript) file (say /lib/client.js) in which I have a unique identifier assigned
You can also do this with gitk:
gitk file.js
In the "commit" drop down, choose "adding/removing string:" and in the text box next to it, enter "var identifier =", and any commits that add or remove lines that contain that string will be highlighted.