add merge as alias for ++ in Model, refactor idGen