on simple import, use a number generator per type isof one global one