From http://stackoverflow.com/questions/4237020/how-to-get-similar-objects-based-on-tags