Move isJoinId, isJoinId_maybe to Id