Imprement method 'convert_to_symbol'