I appear to possess in some way screwed up when wordpress calls the publish class. I looked in "Primary Index Template" but that simply states "<div <?php post_class() ?> id="post-<?php the_ID(); ?>">" So I'm not sure how to proceed.

Would you mean the id's and sophistication title not making around the front-end?

Add an echo such as the example below to ensure that the id and sophistication is printed out.

<div <?php echo post_class() ?> id="post-<?php echo the_ID(); ?>">

You have to give more details but when something went wrong due to you editing the files then I recommend you to definitely replace the file from www.wordpress.org.

If it's s theme file then replace the theme.