Escape option name as code