use id if we have it and have no parent