UUIDs are acceptable for APIs, but I really like Stripe's 'hungarian notation' approach. It's obvious what 'cus_123abc' is (a customer!).