Calucation of x-Context property values

Dear all,

How are the context IDs that appear in TMX exports as <prop type="x-Context">numeric value, numeric value</prop> calculated?

(TuContext.LeftSource and TuContext.LeftTarget)

Thanks for your help.