A person to whom a contract, express or implied, has been transferred or assigned, either in accordance with a statute or with the common law, may sue thereon in his or her own name.