hook_block_view: if  is a path, use a different lookup function
use  value to test id type