Better random ID generator