How to create a unique (membership) number?