core: sanitize name in bulk() for consistency.