<%@ Master Language="C#" ClientIDMode="Predictable" AutoEventWireup="true" CodeBehind="Site.master.cs" Inherits="MyWebApplication.SiteMaster" %>
Or it could also be provided at the application level using the web.config specification as shown below.
<system.web>
<pages clientIDMode="Predictable"></pages>
</system.web>