Slightly confused - what's the difference between `queryForNames` and `queryForInstances`?

Adding a docstring which explains this or at least points to the Curator documentation / whatever would be a good thing.