How to get the page identifier – Magento

echo $currentPage  = Mage::getBlockSingleton(‘cms/page’)->getPage()->getIdentifier();

Share