             autoInitCodes.push code
         else
             code += 'return _c.createItem\n'
-            uid = 'n' + utils.uid()
+            uid = 'n' + fileUid++
             id ||= uid
             if codes[id]?
                 id = uid

    ids

exports = module.exports = (file, filename, opts) ->
    elems = parser file, filename
    codes = {}
    autoInitCodes = []

            value

        unless elem.id
            json.id = elem.id = "i#{fileUid++}"

        for body in elem.body
            switch body.type
