Store :id as string for Mongoid compatibility