* improve type recognition and propagation in tds2idapy