The case you're checking for is `nil`, right?   How about `identifier.split(":").last if identifier```  That does a better job of communicating intent IMHO.