If you need a reason for using m as the number of samples and n as the number of features, you may take a look at this post.
I think the key to understand the meaning of symbols is to read the definitions carefully, and if definitions are not provided, ask the author.
Raymond