Temporal encoding of bacterial identity and traits in growth dynamics