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