did and wid as param when creating id generator