Generate distinctId by removing hyphens from UUID