Return id or array of ids on insert