Validate package.json id field