Page layout lookup

Is there a way to lookup a pageID by page handle + layout handle?
I am trying to dynamically generate url links for embedding inside templates: