Relativity and Electromagnetism: An Epistemological Appraisal