A structured framework for identifying trends