Added post-id and post-class

(Fixed issue #28)