static String toC(String identifier){
  return identifier.replace('.','_');
}

static String toC ( String identifier ) { return identifier . replace ( '.' , '_' ) ; }
get the c + + representation of this identifier .
