In most cases you can use the fragment tag as well as the ID.
You can set the tag value in FragmentTransaction.add(Fragment fragment, String tag );
.
Then you can use the command FragmentManager.findFragmentByTag(String tab)
to find the fragment in question.