MODX Snippet to get a field from a resource based on a supplied resource id, meant to be used as an output filter.