Added repr() and get_repr() methods for id strings