use FriendlyId pattern for overriding relation method in order to avoid conflict, should solve issue in #288.