If I'm given an ID, but have no indication of which domain class it belongs to, how should I go about loading it?

I could test get() against each domain class in my app one at a time, but the code will be difficult to manage and rather inefficient. Is there an alternative method?