Jordan,
I think you need to use 'storage show disk -a' and then match the UID: field against the data from the 'stats list instances disk' output, but you need to just use the first two fields, remove the colon and then check them.
rsh <filer> storage show disk -a | egrep '^Disk:|UID:'
would be an initial start, and then I'd just parse it all with a perl script to get the output I want.
John