smarter default foreign column name values when used with namespaces