A few lines changed to fix the calculation procedure for ID assignment to the three main variables used in the TP
./cc-ing @iodice @rosati @vadamico @sfrances