add toString local variable

SessionID.toString() created 2.05GB of objects with our benchmark application. Changing it to a member local variable decreased the total allocations to 941KB.