[+BUGFIX] FLOW3 (Persistence): Fix dirty checking with uuid property
If a uuid property is configured with @uuid the dirty checking didn't
use the special property but the FLOW3_Persistence_Entity_UUID
property of the object. This change fixes this by moving the
logic for getting the identifier from the backend to the session.