private Item GetRelatedItem(Item item)
 {
     string relatedId = item.getProperty("related_id");
     Innovator inn = item.getInnovator();
     Item result = inn.newItem("Identity", "get");
     result.setAttribute("select", "classification");
     result.setID(relatedId);
     return result.apply();
 }
 private Item GetSourceItem(Item item)
 {
     string sourceId = item.getProperty("source_id");
     Innovator inn = item.getInnovator();
     if (string.IsNullOrEmpty(sourceId))
     {
         Item currentItem = inn.newItem("Member", "get");
         currentItem.setID(item.getAttribute("id"));
         currentItem.setAttribute("select", "source_id");
         item = currentItem.apply();
         sourceId = item.getProperty("source_id");
     }
     Item result = inn.newItem("Identity", "get");
     result.setProperty("select", "classification, id");
     result.setID(sourceId);
     return result.apply();
 }
 private bool IsIdentitySystem(Item item)
 {
     string classification = item.getProperty("classification");
     Innovator inn = item.getInnovator();
     if (string.IsNullOrEmpty(classification))
     {
         Item currentItem = inn.newItem("Identity", "get");
         currentItem.setID(item.getAttribute("id"));
         currentItem.setAttribute("select", "classification");
         item = currentItem.apply();
         classification = item.getProperty("classification");
     }
     if (classification == "System")
     {
         return true;
     }
     else return false;
 }