Correctly renamed optionTag

Correctly renamed protected helper function optionTag to generateOptionTag.