def match(self, name, chamber=None):
try:<EOL><INDENT>return self._manual[chamber][name]<EOL><DEDENT>except KeyError:<EOL><INDENT>pass<EOL><DEDENT>if chamber == '<STR_LIT>':<EOL><INDENT>chamber = None<EOL><DEDENT>try:<EOL><INDENT>return self._codes[chamber][name]<EOL><DEDENT>except KeyError:<EOL><INDENT>pass<EOL><DEDENT>if chamber not in self._names:<EOL><INDENT>logger.warning("<STR_LIT>" % (<EOL>chamber<EOL>))<EOL>return None<EOL><DEDENT>name = self._normalize(name)<EOL>return self._names[chamber].get(name, None)<EOL>
If this matcher has uniquely seen a matching name, return its
value. Otherwise, return None.

If chamber is set then the search will be limited to legislators
with matching chamber. If chamber is None then the search
will be cross-chamber.