for assignments with small block I prefer this if/else style,

```python
id_string = None if request.GET.get('raw') else xform.id_string
```