What is a reliable way to identify the middle term?

Kinds of Argument: Syllogism, Premises, Conclusion and Three Terms