Remove separator parameter from static local naming code

It was always set to ".", which was duplicated in a few places.