change Guest_tuple_generator to use Team_ids

The optimized code should only calculate with ids and the python code
should do the translation.

Signed-off-by: Jan Losinski <losinski@wh2.tu-dresden.de>