Sets a value to a parameter by it's id.
eOk if the operation completed successfully, or an appropriate error code otherwise.