Assign IDs to cells during ID iteration

This is helpful, if the generating script has to know about the IDs assigned to
particular cells. Fixes issue #35.
Merge pull request #36 from aepsil0n/feature/assign_ids_to_cells

Assign IDs to cells during ID iteration