A simple, yet effective way to query which material is on an Object. Simply click on the item in the viewport and it will go to the material assigned.
https://vimeo.com/showcase/5860456/video/419281649