The method _autoAliasBareProperty (which should be renamed to _autoPrefixBareProperty) does not prefix a property name if it is aliased in the SQL.
So:
"name" will be prefixed to "objectName.name"
But:
"name as label" will not be prefixed; should become "objectName.name as label".
(Above examples would also include db-specific escaping if enabled).