Bugfixed toString() implementation on XID class.

The error was that the code was appending the sum of gtrid_length and
data[i] instead of appending data[i] with an offset of gtrid_length
*data[gtrid_length+i]*