PHP 5.3 friendly way to get class name