Nitpick: this can be made more concise.
```python
sub_id = sub_id.strip() or 'OEoXaMPEzfM'
```

Also, please add a comment explaining why `OEoXaMPEzfM` is a reasonable default, and what it means.