Make the Fluent query's find() method work with joins.

This works by prefixing the table name to the ID column so that ambiguity regarding the column name is avoided.

Fixes #1050.