Sentence:  The great resemblance between electrical and magnetic attractions and repulsions and the <WSD>similarity</WSD> of their laws necessarily would bring about this comparison . 
Meaning of the word marked with <WSD> tags:  the quality of being similar