[BUGFIX] Getting the identifier for a lazy object fails