'Returns feature\'s name.'

def name(self):

    name = None
    for attr_name in ['gene_id', 'transcript_id', 'ID', 'id', 'group']:
        name = self.attributes.get(attr_name, None)
        if (name is not None):
            break
    return name
