Make sure join name is safe.