Support non-standard selectors with colons

Selectors don't have to end with a colon if they take arguments. For example, ContextS changes the selector of layered methods to end with the layer name (e.g. `foo:` becomes `foo: (layerA)`). So the translation needs to check if the selector includes colons at all.