Add ID field to entry.