Problem/Motivation
To support the model of deployable configuration, views configuration with filters on taxonomy terms (or any entity reference field for that matter) should use the uuid of the entity chosen.
For example, creating a view which has a filter on a term from a node field should export to configuration with uuid filter values rather than term ids.
Proposed resolution
Add a checkbox to the filter configuration form to allow users to use the uuid of the term as the filter value rather than the tid.
As a stop-gap until this is implemented in core, I implemented it as a custom filter which extends the current taxonomy term id filter. This may help in determining which parts of the code need to be touched when implementing https://gist.github.com/acbramley/1127c4698a9ae86885e03716f47e3281