generating member id