getMovieInfoById - extract id from url input

If you do
getMovieInfoById("http://www.imdb.com/title/tt2692904/");
it will extract the id from that url string. ("2692904")
We can do a separate function like getMovieInfoByUrl but there is no reason for that. This way is better, in my opinion.