src: moved id_t and stored from ruusterd-project