Make sure that you’ve called bp_has_groups() and bp_the_group(), otherwise all related template tags won’t do anything. See the BuddyPress Codex page on The Groups Loop for more.
If you want to grab the name of a single group by ID try this:
`
$group = new BP_Groups_Group($myGroupID, true);
echo $group->name;
`
Nevermind. It turns out this was the default behavior, but a plugin I had installed was causing problems. Sorry!