Auto generate the IDs