diff --git a/includes/entity.wrapper.inc b/includes/entity.wrapper.inc
index 4ee1c3a..e1d920a 100644
--- a/includes/entity.wrapper.inc
+++ b/includes/entity.wrapper.inc
@@ -615,7 +615,9 @@ class EntityDrupalWrapper extends EntityStructureWrapper {
     }
     elseif (is_object($data) && $data instanceof EntityDrupalWrapper) {
       // We got a wrapped entity passed, so take over its values.
-      $this->id = $data->id;
+      // Use $data->getIdentifier() instead of $data->id to ensure that data has
+      // been loaded.
+      $this->id = $data->getIdentifier();
       $this->data = $data->data;
       // For generic entity references, also update the entity type accordingly.
       if ($this->info['type'] == 'entity') {
