Switched to use HexEncode for value post parameters
Removed UrlEncodeIdentityOrInt(). Added bool argument to EncodeIdentityOrInt to provide HexSubstring or full HexEncode version of values.