Big help from scronide. In case anyone is looking, here is how I solved it. On your template.php
,
function mytheme_preprocess_views_view(&$variables) {
if(isset($variables['view']->name)) {
$function = 'mytheme_preprocess_views_view__' . $variables['view']->name;
if(function_exists($function)){
$function($variables);
}
}
}
You can now add the preprocess function conformed to the format specified above.
function mytheme_preprocess_views_view__related_items(&$variables){
//add your preprocess statements here ...
}
You can extend this technique to also preprocess a specific display_id.