add toString method for typed Ids