doctrine/doctrine2 — pull request #148 by asm89 (2011-10-15 18:18:30+00:00)
Title: Do not load entity on retrieving identifier from a proxy

Fork of the branch created by beberlei. Merged master + added and fixed tests.