Make dag the id

dag (a Date) is what uniquely identifies a  Dag