add the TSL type to the ID name when writing out