Fix singleton
Add a public method to get the post ID from the domain name.