precompileRegEx = function (identifiers) {
  return new RegExp(`^(${identifiers.join('|')})$`);
}
Creates and returns a regex pattern based on all the included prefixes so that
we can test our values against it.

@param {Array} identifiers - The array of identifiers / property names
@returns {RegExp} The regex pattern for us to test values against