[BUGFIX] Use deterministic join aliases
Before this change, we used uniqid() for building join aliases. This prevented
the doctrine DQL cache to work correctly.
We found this change during profiling TYPO3 Neos, where it led to about
10% performance increase in frontend rendering.
Releases: 2.0, master