How (sample code?) does an add-on developer identify the XF sites cookie name/prefix where it has been changed from the xf_ default via library/config.php ?
Code:
// Cookie support
$config['cookie'] = array(
'prefix' => 'MyPrefix_',
'path' => '/',
'domain' => ''
);