Extension to generate an alias for a table or a view.
The table name, optionally suffixed with the alias if one exists. This
can be used in select statements, as it returns something like "users u"
for a table called users that has been aliased as "u".