Add id to entries