IIRC you should use "L.ear / R.ear" even though there's just a single ear slot. Just try it out using one of the following lines on your macro:

/equip L.ear "Militia Earrings"

or

/equip R.ear "Militia Earrings"