'A scoperef is (<blob>, <lpath>). Return the actual elem in
the <blob> ciElementTree being referred to.'

def _elem_from_scoperef(self, scoperef):

    elem = scoperef[0]
    i = 0
    for lname in scoperef[1]:
        i += 1
        if (self._alt_elem_from_scoperef is not None):
            scoperef_names = '.'.join(scoperef[1][:i])
            alt_elem = self._alt_elem_from_scoperef.get(scoperef_names)
            if (alt_elem is not None):
                elem = alt_elem
                continue
        elem = elem.names[lname]
    return elem
