Buddypress Group URLs

Buddypress Groups use the following URL format:

http://domain.com/groups/group-name
Where "group-name" is the name of the group.

I would like to be able to access a group using the group's ID.

For example:
http://domain.com/groups/45
http://domain.com/groups/?id=45
Etc.

Any help/advance would be appreciated.