How to access table tokens in views through handler
The answer ended up being very simple. All I needed to do was cast $values to an array, then access the id. Like this:

$array = json_decode(json_encode($values), true);
$value = $array['fieldid'];