Changes mock item templates to use item id's, refactors compileItem() method on NeatlineRecord.