Enforces value_encoding for param funcs

Ensures the provided value_encoding is enforced for ParameterFunctionType parameters