Optimized id/uri mechanism