Allow namespaced SObjects to declare associations without having to spec...

...ify a foreign key

We ran into an issue where associations were not correctly inferring foreign keys when our SObjects were namespaced. This fixes that issue.