assign new THOMAS IDs