Lots of theses issues seem text related, using the names of objects for matching -- can we use numeric ids? IT must be searching the text of the procs, thus...
There are 2 DMVs called Reference and Referencing Objects (something like that) that are way powerful, I wrote script that loops through procs and shows what objects (tables, views, fn,...