This idea of smart notebooks has been proposed before I think and would indeed be nice to have. It would cover many use cases with just one feature. In the meantime of course you can approximate this with tags but it’s not as powerful.