Use the string.Compare
overload that lets you specify that you want case insensitive comparison
if(string.Compare(PK.ToString(), "ID", true) == 0)
Other options include converting to upper or lower case
if(PK.ToString().ToLower() == "id")
and
if(PK.ToString().ToUpper() == "id")
But you need to be aware of the culture because translating to upper or lower case doesn't always have the expected results depending on the culture. In which case you might find it better to use ordinal or the invariant culture.
if(PK.ToString().Equals("ID", StringComparison.OrdinalIgnoreCase))
or
if(PK.ToString().Equals("ID", StringComparison.InvariantCultureIgnoreCase))