returns the index value of the entities connected to the entity
function() {
        return _.map(ko.unwrap(that.relations), function(relation) {
          return ko.unwrap(relation.relatedPost.id);
        });
      }