Fixed JoinSqlBuilder to use field Aliases

The SQL generated by the JoinSqlBuilder class was ignoring field
aliases.
It should generate Employees.EmployeID instead of Employees.Id since
Employees has an alias on field Id.
use shorter extension method