diff --git a/plugins/contexts/user.inc b/plugins/contexts/user.inc
index 7800e5b..e30bcb1 100644
--- a/plugins/contexts/user.inc
+++ b/plugins/contexts/user.inc
@@ -30,7 +30,7 @@ $plugin = array(
  * are not always created from the UI.
  */
 function ctools_context_create_user($empty, $data = NULL, $conf = FALSE) {
-  $context = new ctools_context('user');
+  $context = new ctools_context('entity:user');
   $context->plugin = 'user';
 
   if ($empty) {
@@ -47,6 +47,11 @@ function ctools_context_create_user($empty, $data = NULL, $conf = FALSE) {
       $data = user_load($data['uid']);
     }
   }
+  // Load entity if the data provided is a numeric value. This kind of data is
+  // passed by some relationships.
+  if (is_numeric($data)) {
+    $data = user_load($data);
+  }
 
   if (!empty($data)) {
     $context->data     = $data;
