<s>[INST] I've been trying to solve this problems for hours but I'm still stuck... :(
My financial institution is a cooperative, which means it's owned by its members, and I need to create a members database. I have a list of tuples where each tuple contains a member's ID and name. Here's an example:

members = [(199148, "John"), (199149, "Mary"), (199150, "Mickey")]

I'd like to be able to look up members by their ID and also be able to find the ID by knowing the name. 

Can you help me?[/INST]