Question: "number" used in the same way in the following two sentences?

In English the subject and the verb must agree in number.

I hope to become one of their number before I die.
Answer: different meanings
Question: "name" used in the same way in the following two sentences?

Halt in the name of the law.

He had no sons and there was no one to carry on his name.
Answer: different meanings
Question: "have" used in the same way in the following two sentences?

What do we have here?

He had an insulin shock after eating three candy bars.
Answer: different meanings
Question: "beat" used in the same way in the following two sentences?

Beat the subway fare.

Beat the table with his shoe.
Answer:
different meanings