Intent, surrounding circumstances, and legal evidence can help identify the meaning of a homonym, but they are not interchangeable in every setting.
For an interpersonal statement such as “you are like my mother,” intention and immediate context can be important. In interpreting a scriptural phrase such as “three qurūʾ,” jurists examine the different lexical senses and the legal evidence favoring one.
A clue can sometimes establish the sense clearly, while other times it leaves a real possibility of error. Familiarity with one usage is not by itself proof of certainty.
The strength of the reason for preferring a sense affects the strength of the resulting ruling.