Adds uid if no name is present