I assume that strings are `slug`s and ints are `pk`s. This class doesn't make sense for objects which have a string `pk` : those wouldn't really need a `slug`, the `pk` would work directly. So I think we are fine here.

It's up to the caller to not submit strings for integers.