Namespace handling for link creation