1. A computer system comprising the following: one or more processors; one or more computer-readable storage media having stored thereon computer-executable instructions that, when executed by the one or more processors, causes the computing system to perform a method for mapping encryption policies to data stored in a database using a policy identifier, the method comprising the following: receiving an indication that identifies which type of encryption is to be applied when encrypting a specified portion of data stored in a database, the database having a database schema identified by a database schema identifier, the database schema defining relationships for data stored in the database; accessing a namespace that identifies a set of one or more databases in which the specified portion of data is accessed in the same manner; and generating a policy identifier, wherein the policy identifier comprises information including the namespace and the database schema identifier.