Add lazy support for scopes with different foreign key names

I slightly adjust the scope assignment if a belongs_to relationship is used that differs from the naming convention. I think it's nicer to use the relationship name instead of the key field name.