[url lastPathComponent]  will do the trick here I think.