Hi
The id's can be found within sys.dm_exec_sql_text and converted. For ad-hoc or prepared queries, they'll be NULL
select db_name(qt.dbid), object_name(qt.objectid), qs.refcounts, qs.usecounts, cacheobjtype, objtype, qt.text
from sys.dm_exec_cached_plans qs
cross apply sys.dm_exec_sql_text(qs.plan_handle) as qt
order by qs.usecounts desc
go