Identification of beauty and charm quark jets at LHCb