The concept of function in molecular biology. A theoretical framework and a case studyc