added assign_ids.py