[WordPress Plugin] Automagic mapping of Page Templates to post IDs to facilitate better dynamic link generation