How to create an Unique ID from entered data?