title: Fix duplicate name situation due to entities created before Orion 0.17.0
body: <p>Since Orion 0.17.0 attribute type is no longer used as attribute "identification key". However, I have entities created with a pre-0.17.0 version that have attributes with the same name and different types. For example, the following entity, which have "ActivePower" duplicated:</p>
  
  <pre><code>&gt; db.entities.findOne({"_id.type": "Regulator", "_id.id": "OUTSMART.RG_LAS_LLAMAS_01", "_id.servicePath": "/"})
  {
      "_id" : {
          "type" : "Regulator",
          "id" : "OUTSMART.RG_LAS_LLAMAS_01",
          "servicePath" : "/"
      },
      "attrs" : [
          {
              "name" : "TimeInstant",
              "value" : "2015-04-27T01:51:36.000000Z",
              "type" : "urn:x-ogc:def:trs:IDAS:1.0:ISO8601",
              "modDate" : 1430092302
          },
          {
              "name" : "ActivePower",
              "value" : "11778",
              "type" : "urn:x-ogc:def:phenomenon:Outsmart:1.0:ActivePower",
              "modDate" : 1430092302
          },
          {
              "name" : "ReactivePower",
              "value" : "8414",
              "type" : "urn:x-ogc:def:phenomenon:Outsmart:1.0:ReactivePower",
              "modDate" : 1430092302
          },
          {
              "name" : "electricPotential",
              "value" : "231",
              "type" : "urn:x-ogc:def:phenomenon:IDAS:1.0:electricPotential",
              "modDate" : 1430092302
          },
          {
              "name" : "electricCurrent",
              "value" : "20890",
              "type" : "urn:x-ogc:def:phenomenon:IDAS:1.0:electricCurrent",
              "modDate" : 1430092302
          },
          {
              "name" : "Latitud",
              "value" : "43.4716987609863",
              "type" : "urn:x-ogc:def:phenomenon:IDAS:1.0:latitude",
              "modDate" : 1414522843
          },
          {
              "name" : "Longitud",
              "value" : "-3.80692005157471",
              "type" : "urn:x-ogc:def:phenomenon:IDAS:1.0:longitude",
              "modDate" : 1401818472
          },
          {
              "name" : "ActivePower",
              "creDate" : 1393420396,
              "value" : "11778.2",
              "type" : "float",
              "modDate" : 1430092302
          }
      ],
      "modDate" : 1430092302
  }
  </code></pre>
  
  <p>How can I adapt that entity to work with Orion 0.17.0 and beyond?</p>