Combine aliased_table_for and aliased_name_for

This refactoring reduces the number of conditionals needed to build `aliased_table_for` and removes `aliased_name_for` because it's no longer necessary.

`aliased_name_for` was also used in `JoinDependency#initialize` so that was replaced with `aliased_table_for` as well. :smile_cat: