Add code to generate unique secure random ID for each transaction.