def render(self, context):
        try:
            key_item = self.key_item.resolve(context)
            form = self.form.resolve(context)
            try:
                for field_id, field in form.fields.iteritems():
                    try:
                        #print field.field_name
                        if field.field_name == key_item:
                            return "#id_"+str(field_id)
                    except __HOLE__:
                        pass
            except:
                return ''
        except template.VariableDoesNotExist:
            return ''
dataset/ETHPy150Open adlibre/Adlibre-DMS/adlibre_dms/apps/mdtui/templatetags/index_keys.py/ProvideIDForSecKey.render