Review feedback: normalization must not turn invalid inputs into AttributeError. Non-string relationship types now raise ValueError before normalization, matching the pre-change behavior; strings are stripped before alias lookup.