Small naming fixes

- using set_name everywhere to be more consistent with POSIX