Return the member's name with a possible suffix '.rf' chopped-off,
if either the member itself has a role '#KNIT' or its content is a list and has a role '#KNIT'.
Otherwise return just the member's name.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself,
either Perl version 5.8.2 or,
at your option,
any later version of Perl 5 you may have available.