Change how post ids are calculated (no more hacky coffeescript code)