Simplify local_name generation