Role of codes in the science of signs