Add class-specific IDs to stream items.