Renamed optionTag

Renamed protected helper function optionTag to generateOptionTag.